package com.hzhr.iot.user.model.dept_parentId;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import com.hzhr.iot.user.entity.DeptEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "Dept_ParentIdModel", description = "部门的上级部门编号模型")
@CygModel(entity = DeptEntity.class)
public class Dept_ParentIdModel {
    @ApiModelProperty(value = "说明 : 编号", required = true)
    @CygProperty(show = "", entityProp = "id")
    private Integer id;
    @ApiModelProperty(value = "说明 : 上级部门编号(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "parentId")
    private Integer parentId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }
}
